##################################################################################################################################
#
# Copyright (C) 2008-2013 Mind System Connection. Lda. Part of Daidze Software, created by Siqsuruq. All other rights reserved.
#
# Mind System Connection Webpage: www.msysc.org
# Daidze Software Page: www.daidze.com www.daidze.org
# E-mail: admin@msysc.org, siqsuruq@gmail.com
#
##################################################################################################################################

proc backup_db {} {
	tk_messageBox -icon info -type ok -message "[::msgcat::mc "This is Open Source Version of \"Daidze Software\", for more features and support consider to buy Pro version. Thank You! "]"
}

proc restore_db {} {
	tk_messageBox -icon info -type ok -message "[::msgcat::mc "This is Open Source Version of \"Daidze Software\", for more features and support consider to buy Pro version. Thank You! "]"
}

proc get_dbengine_list {} {
	set files [glob [file join incl *]]
	set db_engine_list [list]
	if {[lsearch $files {*pgdb_class*}] != -1} {
		lappend db_engine_list "PostgreSQL"
	} 
	if {[lsearch $files {*sqlitedb_class*}] != -1} {
		lappend db_engine_list "SQLite"
	}

	return $db_engine_list
}